//
//  URLApi.m
//  customer
//
//  Created by Holothurian on 2018/10/20.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import "URLApi.h"

@implementation URLApi

/*
 https://yinlong.yinweish.com  https://member.yinweish.com
 
 http://yinlong.tstweiguanjia.com http://member.tstweiguanjia.com
 
 http://clue-img.tstweiguanjia.com https://img.yinweish.com
 */

#if DEBUG

NSString * const kServiceID = @"https://member.yinweish.com/";

NSString * const kOrdersServiceID = @"https://yinlong.yinweish.com/";

NSString * const kCustomerImageIP = @"https://img.yinweish.com/";
#else

NSString * const kServiceID = @"https://member.yinweish.com/";

NSString * const kOrdersServiceID = @"https://yinlong.yinweish.com/";

NSString * const kCustomerImageIP = @"https://img.yinweish.com/";

#endif
//登录
NSString * const kLoginMember = @"memberInterfaces/v1.0/loginMember";

//微信app登录
NSString * const kWXAppLoginMember = @"memberInterfaces/v1.0/wxAppLoginMember";

//微信app绑定手机号
NSString * const kWXAppBindMobile = @"memberInterfaces/v1.0/wxAppBindMobile";

//获取验证码
NSString * const kSendCode = @"settingInterfaces/v1.0/sendCode";

//注册
NSString * const kRegisterMember = @"memberInterfaces/v1.0/registerMember";

//修改密码
NSString * const kForgetPassword = @"memberInterfaces/v1.0/forgetPassword";

//获取省市区
NSString * const kGetCitys = @"addressInterfaces/v1.0/getCitys";

//保修清单列表
NSString * const kGetWorkerOrders = @"maintailInterfaces/v1.0/getWorkerOrders";



//首页轮播图
NSString * const kGetYinlongBanners = @"yinlongBannerInterfaces/v1.0/getYinlongBanners";

//启动信息
NSString * const kGetMainTrailInfo = @"kmCouponController/v1.0/findMaintailInfo";

//材料检索
NSString * const kGetMaintailMaterials = @"maintailInterfaces/v1.0/getMaintailMaterials";

//材料提交
NSString * const kInsertMaintailOrderMaterials = @"maintailInterfaces/v1.0/insertMaintailOrderMaterials";

//修改 头像 姓名
NSString * const kUpdateMemberDetail = @"memberInterfaces/v1.0/updateMemberDetail";

//上传用户头像
NSString * const kUploadUserImage = @"settingInterfaces/v1.0/uploadImg";

//修改 地址 紧急联系人 联系人手机号
NSString * const kUpdateMemberWorker = @"yinlongMemberInterfaces/v1.0/updateMemberWorker";

//个人信息
NSString * const kGetMemberWorkerDetail = @"yinlongMemberInterfaces/v1.0/getMemberWorkerDetail";

//意见反馈
NSString * const kInsertAdvice = @"settingInterfaces/v1.0/insertAdvice";

//退出登录
NSString * const kOutLogin = @"memberInterfaces/v1.0/outLogin";


#pragma mark - New Api
//装修预约图片
NSString * const kGetMaintailIconDetail = @"maintailInterfaces/v1.0/getMaintailIconDetail";

//装修风格列表
NSString * const kRenovationStyles = @"renovationInterfaces/v1.0/getRenovationStyles";

//装修预约、设计预约---立即预约
NSString * const kInsertRenovationOrder = @"renovationInterfaces/v1.0/insertRenovationOrder";

//案例展示
NSString *const kCasesEffect = @"renovationInterfaces/v1.0/getCaseEffects";

//案例展示效果图
NSString *const kCasesEffectDetail = @"renovationInterfaces/v1.0/getCaseEffectDetail";

//删除订单
NSString *const kDeleteRenovationOrder = @"renovationInterfaces/v1.0/deleteRenovationOrder";

//取消订单
NSString *const kCancelRenovationOrder = @"renovationInterfaces/v1.0/cancelRenovationOrder";

#pragma mark - CustomAddition
//定制加配--项目列表
NSString * const kGetCustomizeds = @"customizedInterfaces/v1.0/getCustomizeds";

//定制加配--户型列表
NSString * const kGetCustomizedHuxings = @"customizedInterfaces/v1.0/getCustomizedHuxings";

//定制加配----订单详情
NSString * const kGetCustomizedOrderDetail = @"customizedInterfaces/v1.0/getCustomizedOrderDetail";

//定制加配----取消订单
NSString * const kCancelCustionizedOrder = @"customizedInterfaces/v1.0/cancelCustionizedOrder";

//定制加配-----删除订单
NSString * const kDeleteCustionizedOrder = @"customizedInterfaces/v1.0/deleteCustionizedOrder";

//定制加配--户型方案列表
NSString * const kGetCustomizedHuxingProgrammes = @"customizedInterfaces/v1.0/getCustomizedHuxingProgrammes";

//定制加配----项目户型方案效果图
NSString * const kGetProgrammeImgs = @"customizedInterfaces/v1.0/getProgrammeImgs";

//定制加配--下单
NSString * const kInsertCustomizedOrder = @"customizedInterfaces/v1.0/insertCustomizedOrder";

#pragma mark - OneKeyRepair
//报修----维修区域
NSString * const kGetMaintailPartss = @"maintailInterfaces/v1.0/getMaintailPartss";
//报修----服务时间列表
NSString * const kGetMaintailServiceTimes = @"maintailInterfaces/v1.0/getMaintailServiceTimes";

//上传维修图片 多张
NSString * const kUploadRepairImage = @"settingInterfaces/v1.0/uploadImgs";

//一键报修订单--下单
NSString * const kInsertMaintailOrder = @"maintailInterfaces/v1.0/insertMaintailOrder";


#pragma mark - OrderList
//报修订单----订单列表
NSString * const kGetMaintailOrders = @"maintailInterfaces/v1.0/getMaintailOrders";

//报修订单----订单详情
NSString * const kGetMaintailOrderDetail = @"maintailInterfaces/v1.0/getMaintailOrderDetail";

//报修订单----取消订单
NSString * const kCancelMaintailOrder = @"maintailInterfaces/v1.0/cancelMaintailOrder";

//报修订单----用户拒绝师傅填写的材料报价
NSString * const kRefuseMaintailOrder = @"maintailInterfaces/v1.0/refuseMaintailOrder";

//报修订单----用户接受师傅填写的材料报价
NSString * const kAcceptMaintailOrder = @"maintailInterfaces/v1.0/acceptMaintailOrder";

//订单---评价订单
NSString * const kInsertMaintailOrderAssessment = @"maintailInterfaces/v1.0/insertMaintailOrderAssessment";

//订单----支付订单
NSString * const kPayMaintailOrder = @"maintailInterfaces/v1.0/payMaintailOrder";

//订单----删除订单
NSString * const kDeleteMaintailOrder = @"maintailInterfaces/v1.0/deleteMaintailOrder";

//发票----申请发票
NSString * const kInsertMaintailOrderInvoice = @"maintailInterfaces/v1.0/insertMaintailOrderInvoice";

//发票----发票详情
NSString * const kGetMaintailOrderInvoiceDetail = @"maintailInterfaces/v1.0/getMaintailOrderInvoiceDetail";

//发票----发票记录
NSString * const kGetMaintailOrderInvoices = @"maintailInterfaces/v1.0/getMaintailOrderInvoices";

//优惠券记录
NSString * const kGetCouponList = @"kmCouponController/v1.0/findMyCoupons";

//使用优惠券
NSString * const kUseCoupon = @"kmCouponController/v1.0/userMyCoupon";

//查询可用优惠券
NSString * const kGetCanUserCoupon = @"kmCouponController/v1.0/findMyCoupons_";

#pragma mark - Address
//获取用户所有地址列表
NSString * const kGetMemberAddress = @"addressInterfaces/v1.0/getMemberAddress";

//地址----用户添加地址
//http://localhost:8180/tst-consumer-member//addressInterfaces/v1.0/insertAddress
//地址---用户修改地址
//http://localhost:8180/tst-consumer-member//addressInterfaces/v1.0/insertAddress

//地址----用户添加地址
NSString * const kInsertAddress = @"addressInterfaces/v1.0/insertAddress";

//地址---用户修改默认地址
NSString * const kUpdateDefaultAddress = @"addressInterfaces/v1.0/updateDefaultAddress";

//地址---用户删除地址
NSString * const kDeleteAddress = @"addressInterfaces/v1.0/deleteAddress";

//地址---得到用户默认地址
NSString * const kGetDefaultAddress = @"addressInterfaces/v1.0/getDefaultAddress";

#pragma mark - SelfCenter
#pragma mark - AppointmentCenter
//预约订单列表(1:装修预约 2:设计预约)
NSString * const kGetRenovationOrders = @"renovationInterfaces/v1.0/getRenovationOrders";

//预约订单详情
NSString * const kGetRenovationOrderDetail = @"renovationInterfaces/v1.0/getRenovationOrderDetail";

//装修、设计预约 获得支付凭证
NSString * const kPayRenovationOrder = @"renovationInterfaces/v1.0/payRenovationOrder";

//定制加配----订单列表
NSString *const kGetCustomizedOrders = @"customizedInterfaces/v1.0/getCustomizedOrders";

//定制加配----获得支付凭证
NSString *const kPayCustomizedOrder = @"customizedInterfaces/v1.0/payCustomizedOrder";

#pragma mark - UserInformation
//用户详情
NSString *const kGetMemberDetail = @"memberInterfaces/v1.0/getMemberDetail";


#pragma mark - Setting

//发票列表
NSString * const kGetMemberInvoice = @"invoiceInterfaces/v1.0/getMemberInvoice";

//添加发票抬头
NSString * const kInsertInvoice = @"invoiceInterfaces/v1.0/insertInvoice";

//删除发票
NSString * const kDeleteInvoice = @"invoiceInterfaces/v1.0/deleteInvoice";

//设置默认发票
NSString * const kUpdateDefaultInvoice = @"invoiceInterfaces/v1.0/updateDefaultInvoice";



//高德地图ApiKey
//正式的 6a1c486dc03a813f453740cc6931b498
//自己的 991129593bdb94d9c379b47bcc047322
NSString * const AMapLocationApiKey = @"6a1c486dc03a813f453740cc6931b498";

@end
